package com.foreknow.demo5;

public class A {
    public A() {
        System.out.println("111111111111111");
    }

    public A(String name) {
        this();
        System.out.println("222222222222222");
    }

    public A(String name,int age) {
        this(name);
        System.out.println("333333333333333");
    }

    public A(String name,int age,String school) {
        this(name,age);
        System.out.println("444444444444444");
    }

    public static void main(String[] args) {
        A a = new A("tom",12,"neu");
    }
}
